package com.gitee.minimalismstyle.fresh.common.core.service

import com.gitee.minimalismstyle.fresh.common.core.domain.QueryBody
import com.gitee.minimalismstyle.fresh.common.core.domain.QueryParams
import com.gitee.minimalismstyle.fresh.common.core.domain.R

interface QueryParamsService<Q, T> {
    /**
     * 根据通用查询对象查询
     * @param params
     * @return
     */
    fun findByQueryParams(params: QueryParams<Q>): R<QueryBody<T>>
}